package com.athena.view 
{
	import com.athena.ui.load;
	import flash.display.Shape;
	/**
	 * ...
	 * @author ...
	 */
	public class Loadding extends load
	{
		public static var LoaddingName : String = "LoadingName";
		public function Loadding() 
		{

			var _w : Number = width; var _h : Number = height;
			var rectangle:Shape = new Shape();
			rectangle.graphics.beginFill(0x000000, 1);
			rectangle.graphics.drawRect((_w - Main.getInstance().config.demension.x) / 2, (_h - Main.getInstance().config.demension.y) / 2, Main.getInstance().config.demension.x, Main.getInstance().config.demension.x);
			rectangle.alpha = 0.2;
			rectangle.graphics.endFill();
			addChild(rectangle);
			this.x = (Main.getInstance().config.demension.x - _w) / 2;
			this.y = (Main.getInstance().config.demension.y - _h) / 2;
			this.name = LoaddingName;
		}
		
	}

}